﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using lineage2.commons.util;

namespace Game.templates.skill.restoration
{
    public sealed class RestorationItem
    {
        private int _id;
	    private int _minCount;
	    private int _maxCount;

	    public RestorationItem(int id, int minCount, int maxCount)
	    {
		    this._id = id;
		    this._minCount = minCount;
		    this._maxCount = maxCount;
	    }

	    public int getId()
	    {
		    return _id;
	    }

	    public int getMinCount()
	    {
		    return _minCount;
	    }

	    public int getMaxCount()
	    {
		    return _maxCount;
	    }

	    public int getRandomCount()
	    {
		    return Rnd.get(_minCount, _maxCount);
	    }
    }
}
